package example.hello;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Hello extends Remote {
	String sayHello() throws RemoteException;
	String getData() throws RemoteException;
	void setData(String v) throws RemoteException;
	
	//Observable pattern
	public void subcribe(Observer observer) throws RemoteException;
	public void unsubcribe(Observer observer) throws RemoteException;
	public void notifyObservers() throws RemoteException;
}
